/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cashmate.utilities;

import java.io.Serializable;

/**
 *
 * @author dean
 */
public class IncentiveObject implements Serializable{

    private String areacode;
    private String cc;
    private double rate;
    private double gross;
    private double officeShare;
    private double projIncentive;
    private double sales;
    private double actIncentive;
    private double payableIncentive;
    private double penalty;
    private double nm;
    private double totalcashollection;
    private boolean second;
    private String rate_s;
    private double totalPn;
    
    public IncentiveObject() {
    }

    public IncentiveObject(String areacode, String cc, double rate, double gross, double officeShare, double projIncentive, double sales, double actIncentive, double payableIncentive, double penalty, double nm, double totalcashcollection, double totalPn) {
        this.areacode = areacode;
        this.cc = cc;
        this.rate = rate;
        this.gross = gross;
        this.officeShare = officeShare;
        this.projIncentive = projIncentive;
        this.sales = sales;
        this.actIncentive = actIncentive;
        this.payableIncentive = payableIncentive;
        this.penalty = penalty;
        this.nm = nm;
        this.totalcashollection = totalcashcollection;
        this.second = false;
        this.totalPn=totalPn;
    }

    public double getActIncentive() {
        return actIncentive;
    }

    public void setActIncentive(double actIncentive) {
        this.actIncentive = actIncentive;
    }

    public String getAreacode() {
        return areacode;
    }

    public void setAreacode(String areacode) {
        this.areacode = areacode;
    }

    public String getCc() {
        return cc;
    }

    public void setCc(String cc) {
        this.cc = cc;
    }

    public double getGross() {
        return gross;
    }

    public void setGross(double gross) {
        this.gross = gross;
    }

    public double getNm() {
        return nm;
    }

    public void setNm(double nm) {
        this.nm = nm;
    }

    public double getOfficeShare() {
        return officeShare;
    }

    public void setOfficeShare(double officeShare) {
        this.officeShare = officeShare;
    }

    public double getPayableIncentive() {
        return payableIncentive;
    }

    public void setPayableIncentive(double payableIncentive) {
        this.payableIncentive = payableIncentive;
    }

    public double getPenalty() {
        return penalty;
    }

    public void setPenalty(double penalty) {
        this.penalty = penalty;
    }

    public double getProjIncentive() {
        return projIncentive;
    }

    public void setProjIncentive(double projIncentive) {
        this.projIncentive = projIncentive;
    }

    public double getRate() {
        return rate;
    }

    public void setRate(double rate) {
        this.rate = rate;
    }

    public double getSales() {
        return sales;
    }

    public void setSales(double sales) {
        this.sales = sales;
    }

    public double getTotalcashollection() {
        return totalcashollection;
    }

    public void setTotalcashollection(double totalcashollection) {
        this.totalcashollection = totalcashollection;
    }

    public boolean isSecond() {
        return second;
    }

    public void setSecond(boolean second) {
        this.second = second;
    }

    public String getRate_s() {
        rate_s=(rate*100)+"%";
        return rate_s;
    }

    public double getTotalPn() {
        return totalPn;
    }

    public void setTotalPn(double totalPn) {
        this.totalPn = totalPn;
    }
    
    
    
    
}
